summaryrefslogtreecommitdiff
path: root/app/[lng]/auth/reset-password/page.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'app/[lng]/auth/reset-password/page.tsx')
-rw-r--r--app/[lng]/auth/reset-password/page.tsx5
1 files changed, 3 insertions, 2 deletions
diff --git a/app/[lng]/auth/reset-password/page.tsx b/app/[lng]/auth/reset-password/page.tsx
index f49e5d86..1900f7b9 100644
--- a/app/[lng]/auth/reset-password/page.tsx
+++ b/app/[lng]/auth/reset-password/page.tsx
@@ -7,10 +7,11 @@ import ResetPasswordForm from '@/components/login/reset-password';
import { getPasswordPolicy } from '@/lib/users/auth/passwordUtil';
interface Props {
- searchParams: { token?: string };
+ searchParams: Promise<{ token?: string }>;
}
-export default async function ResetPasswordPage({ searchParams }: Props) {
+export default async function ResetPasswordPage(props: Props) {
+ const searchParams = await props.searchParams;
const token = searchParams.token;
// 토큰이 없는 경우 로그인 페이지로 리다이렉트